package com.ruoyi.system.service.impl;

import com.ruoyi.common.core.domain.entity.StoreExamineDetail;
import com.ruoyi.system.mapper.StoreExamineDetailMapper;
import com.ruoyi.system.service.StoreExamineDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class StoreExamineDetailServiceImpl implements StoreExamineDetailService {
    @Autowired
    StoreExamineDetailMapper storeExamineDetailMapper;
    @Override
    public List<StoreExamineDetail> selectList(StoreExamineDetail examinePlan) {
        return storeExamineDetailMapper.selectList(examinePlan);
    }

    @Override
    public Boolean create(StoreExamineDetail examinePlan) {
        return storeExamineDetailMapper.insert(examinePlan);
    }

    @Override
    public Boolean update(StoreExamineDetail examinePlan) {
        return storeExamineDetailMapper.update(examinePlan);
    }

    @Override
    public Boolean deleteById(Long id) {
        return storeExamineDetailMapper.deleteById(id);
    }

    @Override
    public StoreExamineDetail selectById(Long id) {
        return storeExamineDetailMapper.selectById(id);
    }
}
